package com.heima.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @author chenshan
 */
@ConfigurationProperties(prefix = "elasticsearch")
@Component
@Data
public class EsConfig {
    private String host;
    private String port;
}
